package com.sixteengroup.personnelms.dao.finance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixteengroup.personnelms.bean.finance.GongZiManage;
import com.sixteengroup.personnelms.bean.User;
import com.sixteengroup.personnelms.bean.finance.TraProgram;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FinanceDao extends BaseMapper<User> {

    List<GongZiManage> queryAllStaff();
    
    int revSalary(Map<String,Object> map);

    List<TraProgram> queryAllPro();

    List<TraProgram> queryProByName(Integer id);

    List<TraProgram> mixSel();

    int insertBase(Map<String,Object> map);

    int selLimit();

    int insertBasePeo(Map<String,Object> map);

    int delOne(int id);
    int delTwo(int id);

    List<TraProgram> selAttend(int id);

    int updateState(int id);


}
